Update web.js

Revised to read from Index.html