update web.js with index.html