Cleanup the header JavaScript imports

To clean this up properly I had to move underscore.js to a better folder
than Emperor's JavaScript folder.