Updated web.js
Mod: read from index.html