Add AjaxAPI to send jQuery AJAX requests with promise-speak