Moved JS loading to bottom of page