Changed to coffeescript
Found a good WebSocket Service we can use to build on our XBMC client, code contains very basic example