cleaned up the cljs end of the ws connection