Modified web.js