Updated web.js to load index.html