Create websockets.js