Prepare to use AJAX form submission.