Tern plugin for determining the definition AST node and origin for JavaScript types