             (log-this                   "log this"                   'both)
             (debug-this                 "debug this"                 'both)
             (forward-slurp              "forward slurp"              nil)
-            (forward-barf               "forward barf"               nil))))
-
-  ;; [pedantry intensifies]
-  (defadvice js2-mode (after js2-mode-rename-modeline activate)
-    (setq mode-name "JS2")))
+            (forward-barf               "forward barf"               nil)))))
 
 (define-minor-mode nodejs-mode
   :lighter " node" :keymap (make-sparse-keymap)

                        ;; Launchbar API
                        "LaunchBar" "File" "Action" "HTTP" "include" "Lib"))

  (map! :map js2-mode-map
        (:localleader
          :nv ";" 'narf/append-semicolon))

  (after! web-beautify
    (add-hook! js2-mode (setenv "jsbeautify_indent_size" "4"))
    (map! :map js2-mode-map :m "gQ" 'web-beautify-js))

  (use-package js2-refactor
    :init (add-hook 'js2-mode-hook 'emr-initialize)

  :mode "\\.js$"
  :interpreter "node"
  :init
  (use-package nodejs-repl
    :commands (nodejs-repl)
    :config (evil-set-initial-state 'nodejs-repl-mode 'emacs))

  (define-repl! js2-mode nodejs-repl)
