further web.js changes