update index.html and index.js