Updated web.js with index.html