Moved JS to the end