Fix 'ReferenceError: MozWebSocket is not defined'

This error throws on newer versions of Firefox,
and the demo doesn't works.

Signed-off-by: Kiril Petrov <vscp@geomi.org>