quick fixes

Moved code out of <head> and into <body>