Util for evaluating JavaScript in sources.
Evaluate arbitrary JavaScript code and get the result as a primitive type (e.g., String, Int).