moved js to end of body for index.html to load faster