Updated web.js
Reading from index.html