Support CordovaJS in Content Assistant for Tern.

Signed-off-by: vrubezhny <vrubezhny@exadel.com>