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