I can't tell if the leading comma on this line is a type or not. I would prefer to drop the SockJSWrapper and have the callbacks be explicit. It's slightly longer, but easier to read and understand.