Nashorn integration, requires java 1.8