made an AjaxRequest class