Using SockJS.OPEN instead of WebSocket.OPEN to avoid issues in browsers that do not define the WebSocket obj
Using the 'Strict equal' operator (===), to check value AND type
Merge pull request #514 from matzew/master

Using SockJS.OPEN