AJAX calls are made successful