Updated web.js
Now reads from index.html file