Updated web.js
Make web.js read from index.html