Ajax: Fix for request aborted in ajaxSend

Fixes gh-1775
Close gh-1619