Updated web.js
Read from index.html