add js functionality, add newrecipe form

The presence of a $script variable in head.php will include a script.
newrecipe.php is now a complete form, but submittal will not work.