last changes to web.js