AJAX server API call in progress