Now inits following the spec

It's just used for testing in PhantomJS. I'll look into seeing how to modify the head element in karma ran phantomjs instances.