modified web.js file