Modified index.html and web.js to be compliant to hw3 assignments