update index.html and script.js