SignalR translated into coffeescript