Updated web.js
read from index.html