edited web.js to use index.html