AjaxDispatcher, now ~30 lines shorter and not using $_GET or $_POST