updated index.html to have js load in proper order