 
     @editorSaveSubscriptions = {}
     @editorCloseSubscriptions = {}
+
+    # @editorSaveSubscriptions = new Observer()
+    # @editorCloseSubscriptions = new Observer()
 
     atom.config.observe 'jsformat.format_on_save', =>
       @subscribeToEvents()


            delete @editorSaveSubscriptions[editor.id]
            delete @editorCloseSubscriptions[editor.id]
    else
      if @editorCreationSubscription
        @editorCreationSubscription.dispose()

        for subscriptionId, subscription of @editorCloseSubscriptions
          subscription.dispose()
          delete @editorCloseSubscriptions[subscriptionId]

        # @editorSaveSubscriptions.dispose()
        # @editorSaveSubscriptions = new Observer()
        #
        # @editorCloseSubscriptions.dispose()
        # @editorCloseSubscriptions = new Observer()
