more updates to web.js