Updated web.js file