updated web.js to read index.html
web.js modified