Amended index.html and web.js