ajaxRequest now works as a service