Manage context info + template for Javascript Tern completion