Updated web.js
Reads from index.html