Create scripting logic for submitting fields as JSON and alert to test.
Use spaces instead of tabs in newly created JS file.
Check tab vs space in modified file.
Use jQuery to prevent default form action and perform own POST.
Try removing method POST from form element in restaurantAdd.
Remove trailing period after script declaration.
Add a requirement of jQuery to app.js.
Undo require jQuery.
Try inlining the javascript inside the jade file.
Add missing single quote after address.
Fix tabbing to spaces in restaurantAdd.
Remove script type from tag in jade.
Create a block in head of layout and fill in block with script in restaurantAdd.
Revert layout back to way it was without block head and put script inline at end of body in restaurantAdd.
Remove line containing tab in restaurantAdd.
Change jQuery to search for particular ID instead of form tag.
Use form.find instead of form.attr when searching by input name.
Try using window.onload in script.
Fix auto-indent done by NotePad++.
Try returning false at end of script.