Web.js updated to read from index.html