updated version of web.js
Adding index.html
reading from index.html