update to web.js