Modification in web.js