moves index.js into index.html