Code for the scotch.io tutorial: Submitting AJAX Forms with jQuery