Improve AjaxForm
Fix global var of form