Modified web.js error