update web.js and added index.html