This is standard practice in web development. Loading scripts at the top of a file blocks rendering of elements which come after the &lt;script&gt; tag. See: http://stackoverflow.com/questions/4396849/does-the-script-tag-position-in-html-affects-performance-of-the-webpage