updated web.js
added index
updae