removed old browsing code from websockets.js