index.js and index.html modified