Use 6.0 API to add tern completion + use charTriggers.
Merge branch 'master' of https://github.com/angelozerr/tern.orion.git