Set up custom javascript file to handle form submission
Check for empty POST data
Set up javascript file to process form data