Wait until the DOM is ready before loading stylesheets, templates, scripts, etc
Moved scripts back into the head