Small changes enabling basic form submission functionality
Groundwork for AJAX submission