retabbed index.js and index.html