fix for web.js