web.js changed according to script