Merge pull request #12 from danielkutik/master

Connect WebSocket relative to window.location
update demo link
put in actuall link
Merge pull request #13 from danielkutik/master

variable should be declared
fixed a url fragment issue with web socket url on page load for room hashes

There is an issue on page load when you have a room hash in the url.
You get a url fragment error and the socket connection does not succeed
Merge pull request #14 from mattnull/master

URL fragment issue