Updated web.js to use index.html