AJAX spinner bug removing it