Reattach delete AJAX hook after refresh.