Changed web.js to read from a index.html