Move JS to the end (so the HTML/loading spinner loads first)