improving AjaxFormLoop