   (add-hook 'nxml-mode-hook 'emmet-mode))
 
 ;; js-mode
-(add-hook 'js-mode-hook
-          (lambda()
-            (when (require 'tern-mode nil t)
-              (eval-after-load "company"
-                '(add-to-list 'company-backends 'company-tern))
-              (tern-mode t))))
+(add-to-list 'auto-mode-alist '("\\.js\\'" . js-jsx-mode))
 
 ;; FlyCheck
 (when (or (require 'flycheck-mypy nil t)

;; Tell Custom to write and find the custom settings elsewhere
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file)

;; Vim-like increment and decrement
(when (require 'evil-numbers nil t)

                 'emacs-lisp-mode-hook
                 'c-mode-common-hook
                 'js-mode-hook
                 'js2-mode-hook
                 'sh-mode-hook
                 'sgml-mode-hook
                 'nxml-mode-hook
