modified to use helm-gtags-mode for javascript-mode as well.