updated web.js
added index file