Updated web.js
reading data from index.html