Nashorn for Elasticsearch