 
 (use-package js2-mode
   ;; defer until the mode is needed
-  :mode ("\\.js\\'" . js-mode))
+  :mode ("\\.js\\'" . js2-mode))
 
 ;;;;;;;;;;;;;;;;
 ;; navigation ;;


(use-package zenburn-theme
  ;; custom color theme
  :config (load-theme 'zenburn t))

(use-package magit
  ;; defer loading until the mode is called

 ;; package
 package-enable-at-startup nil)

(setq-default
 ;; cursor
 cursor-type '(bar . 3)
