Changed web.js to read from file index.html