added sendAjaxRequest