Moved script loading to bottom of html

Previously it was in the head because require.js would freak out if it wasn't.
We'll see if everything works properly...