Changes to web.js. Setting things up for bromleyWS.