     try
       return JSON.parse(event.data) if "data" of event
     catch e
-      warn "Received invalid event payload."
+      warn "Received invalid event payload"
     {}
 
   parseEventWithState: (e) ->

    optionsMissing = !(o of @options) for o in requiredOptions

    if @options == {} || optionsMissing
      warn "Initialization options missing or invalid."
      return

    defaultOptions = {


      @addEventListeners()
    else
      log "Browser unsupported"

  reconnect: (backoff = 0) ->
    clearTimeout @reconnectTimer
