use tern for javascript completion