 	      (delete-trailing-whitespace)
 	      nil))
   )
-(add-hook 'web-mode-hook  'gp-web-mode-hook)
+(add-hook 'web-mode-hook  'gp/web-mode-hook)
 
 
 ;; adjust indents for json-mode to 2 spaces
-(defun gp-json-mode-hook ()
+(defun gp/json-mode-hook ()
   "Hooks for json-mode."
   (make-local-variable 'js-indent-level)
   (setq js-indent-level 2))
 
-(add-hook 'json-mode-hook 'gp-json-mode-hook)
+(add-hook 'json-mode-hook 'gp/json-mode-hook)
 
-(gp-setup-webdev-auto-list)
-(gp-tern-setup)
+(gp/setup-webdev-auto-list)
+(gp/tern-setup)
 
 (provide 'init-webdev)
 ;;; init-webdev.el ends here

                    '(" \\(ng-[a-z]*\\)=\"\\([a-zA-Z0-9]*\\)" 1 2 "="))))  
  )

(defun gp-tern-setup ()
  "Setup tern.
Don't forget to create a .tern-project file in the root of your
javascript project.
http://ternjs.net/doc/manual.html#configuration"
  (add-hook 'js2-mode-hook (lambda () (gp-js2-mode-hook)))

  ;; function to kill ther tern process incase it stops responding
  (defun delete-tern-process ()

  )

;; adjust indents for web-mode to 2 spaces
(defun gp/web-mode-hook ()
  "Hooks for Web mode."

  ;; enable other modes that we need
