 
       (setq js2-use-font-lock-faces t
             js2-mode-must-byte-compile nil
-            js2-basic-offset preferred-javascript-indent-level
             js2-indent-on-enter-key t
             js2-skip-preprocessor-directives t
             js2-auto-indent-p t


      (eval-after-load 'coffee-mode
        `(setq coffee-js-mode 'js2-mode
               coffee-tab-width preferred-javascript-indent-level))
      )
  (progn
    ;; js-mode
    (setq auto-mode-alist (cons '("\\.js\\(\\.erb\\)?\\'" . js-mode) auto-mode-alist))
    (setq js-indent-level preferred-javascript-indent-level)

    ;; Need to first remove from list if present, since elpa adds entries too
    (add-hook 'js-mode-hook 'add-inferior-js-keys)


;; ---------------------------------------------------------------------------
;; Run and interact with an inferior JS via js-comint.el
;; ---------------------------------------------------------------------------
