added some jquery to prevent default form submission behavior
Modified page to use AJAX to response to form submissions