more web.js changes