Updated web.js
updating web.js to read from index.html