Updated ajaxRequest