Updated web.js
Added use of index.html