Changed the web.js to read from index.html