Moved JS to top