Updated index.html and web.js for hw4