 
     constructor: ->
       # console.log 'content script:construct'
-      window.addEventListener "message", @listenToGmailr, false
-
+      @listenToGmailr()
       @initTrackJs()
       @checkVersion()
       return
 
-    ###* This returns the service URL
-         @return {Promise} resolves to the service URL {String}
+    ###
+    This returns the service URL
+    @return {Promise} resolves to the service URL {String}
 
        use the following with
        --allow-running-insecure-content

    @CLS_LOADER:   M.CLS + '-loader'
    @CLS_AUTH_IMG: M.CLS + '-auth-image'
    @CLS_AUTH_TXT: M.CLS + '-auth-text'
    @CLS_WLCM_DLG: M.CLS + '-welcome-dialog'

    @ID_PREFIX:    M.CLS + '-id-'


            track [status, params, error, responseText]
            (__msg 'notificationScheduleError', '' + new String error)

        Q.all([
          getMessage()
          (__msg 'notificationScheduleErrorTitle')
        ]).then ([_message, _title]) ->
          ExtensionFacade.showNotification 'shared/images/tie.svg', _title, _message
          return

  mb = new M()
  return
