fixed problem with web.js