update web.js file