Move JS into head tag

* Feels like one of the rare scenarios we actually want the JS (editor) to load before the content.