updated web.js and added index.html