moving js to the bottom of index.html