Implement thank you page and routing via AJAX / JSON response