improve js2-mode performance