Implement websockets.js in clojurescript