 
       (eval-after-load 'coffee-mode
         `(setq coffee-js-mode 'js2-mode
-               coffee-tab-width preferred-javascript-indent-level))
+               coffee-tab-width 4))
       )
   (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)
 

(defvar preferred-javascript-indent-level 2)

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

;; }}

(add-hook 'coffee-mode-hook 'flymake-coffee-load)

;; {{ js-beautify
(defun js-beautify ()
