updated web.js
Added index
modified web.js