Revert "javascripts at the bottom of the <body>"

This reverts commit e0a8446a08597705b14321da441fbe0d053d28a5.

It also (supposedly) fixes #109