       js2-bounce-indent-p nil)
 
 (eval-after-load 'js2-mode '(js2-imenu-extras-setup))
-
-;; js3-mode
-(add-hook 'js3-mode-hook '(lambda () (setq mode-name "JS3")))
-(setq js3-auto-indent-p t
-      js3-enter-indents-newline t
-      js3-indent-on-enter-key t
-      js3-indent-level preferred-javascript-indent-level)
 
 ;; js-mode
 (setq js-indent-level preferred-javascript-indent-level)

(require-package 'json)
(require-package 'js3-mode)
(when (>= emacs-major-version 24)
  (require-package 'js2-mode)
  (require-package 'ac-js2))

  "Bindings for communicating with an inferior js interpreter."
  nil " InfJS" inferior-js-minor-mode-map)

(dolist (hook '(js2-mode-hook js-mode-hook))
  (add-hook hook 'inferior-js-keys-mode))

;; ---------------------------------------------------------------------------
