Binary package “rhino” in ubuntu trusty

JavaScript engine written in Java

 Rhino is an implementation of the JavaScript language written
 entirely in Java. It is typically embedded into Java applications to
 provide scripting to end users.