Moved JS in front of HTML