Updated web.js
updated to read from index.html