index.html and web.js updated to HW4