Remove AJAX data after retrieving