modifyed web.js file