changed index.html and index.js