Embedding Nashorn in JVM-based projects