More web.js fixes