   (push (cons 'search-function-local-vars font-lock-variable-name-face) font-locks)
 
   ;; class members
-  (push (cons 'search-class-members opx2-hg-getset-face) font-locks)
+  (push (list 'search-class-members 1 opx2-hg-getset-face) font-locks)
 
   ;; Global vars
-  (push (cons 'search-global-vars font-lock-variable-name-face) font-locks)
+  (push (cons 'search-global-vars pjs-var-definition-face) font-locks)
   
   ;; Variable definitions with type
   (push (list *pjs-vars-with-type-regexp* 1 font-lock-type-face) font-locks)

;; languages keywords
(defconst pjs-font-lock-keywords
  (js--regexp-opt-symbol
   '("namespace"
     "class"
     "with"
     "where"
     "order by"
     "group by"
     "inverse"
     "break"
     "case"
     "catch"
     "else"
     "for"
     "goto"
     "if"
     "instanceof"
     "new"
     "return"
     "switch"
     "try"
     "typeof"
     "var"
     "while"
     "foreach"
     "method"
     "function"
     )))

;; pjs types
(defconst pjs-font-lock-types

(defun force-syntax-highlighting ()
  (interactive)
  (font-lock-fontify-buffer))

(defun pjs-reset-cache ()
  (ojs-reset-cache)
  (setq *pjs-buffers-class-members-cache* nil)
  (setq *pjs-buffers-class-members-cache-regexp* nil)
  (setq *pjs-namespace-functions-cache* nil)
  (setq *pjs-kernel-functions-cache*  nil)
  )
