Add AJAX for deleting threads, and replies