Hi Pavel:
I am just followig up with some additional information that may be useful for you. So, it seems that the Eclipse Orion editor has built in very nice tern.js support. They include that support on the client-side of their product. Though we are fairly certain that it will be easy to export that and have it run similarly to the way that we handle JDT code. This is a strong desire of our project because we need server-side tern processing in order to enable cross-project and cross-workspace language intellisense for _javascript_. The Orion project provides that with some server-side APIs that help to connect those items together. We'd like to extend that concept to have a more consistent server-side approach to incorporating these libraries.
I would hope that we could collborate together on such an effort and potentially both contribute some resources to working on this exercise. We would not be able to start this in earnest until after we have finished the major initial release of Che, which needs another couple sprints.