web.js updated to read index.html