AJAX remove and refresh work