   tawkbus.sockjs_client("/*", "https://tawk.space")
   window.tawk = tawkbus.sb
   tawk.janus_initialized = false
+  tawk.id = random_string(16)
+  tawk.space = null # Will be filled in dom.TAWK
 
   unsavable = (obj) ->
     throw new Error("Cannot save #{obj.key}")

###############################################################################

dom.TAWK = ->
  space = if @props.space? then @props.space else ''
  name = if @props.name? then @props.name else 'Anonymous ' + random_numbers(4)
  video = if @props.video? then @props.video else true
  audio = if @props.audio? then @props.audio else true

  # Have to make sure we get all connections to choose
  # whether to join the first group

          janus.attach
            plugin: "janus.plugin.videoroom"
            error: console.error
            onlocalstream: (stream) -> recieved_stream(stream, tawk.id)
            success: (ph) ->
              # Join plugin as a publisher (able to both send and receive streams)
              plugin_handle = ph
