updated web.js to use index.html