changes to index.js and index.html