Using the Nashorn JS engine in Akka (including futures and promises)