reordered getAjaxArgs to allow a form post to work.