update web.js nd index.html