fixed bug in js2-mode globals declaration