Cleaning AJAX request