Working AJAX form replacement function for landing page.