fixed web.js error