Changes to web.js