Modified web.js & index.html