wro4j-extensions/src/main/java/ro/isdc/wro/extensions/script/RhinoScriptBuilder.java
public RhinoScriptBuilder evaluateChain(final String script, final String sourceName) {
    notNull(script);
    getContext().evaluateString(scope, script, sourceName, 1, null);
    return this;
  }
public RhinoScriptBuilder evaluateChain(final String script, final String sourceName) {
    notNull(script);
    getContext().evaluateString(scope, script, sourceName, 1, null);
    return this;
  }
public RhinoScriptBuilder evaluateChain ( final String script , final String sourceName ) { notNull ( script ) ; getContext ( ) . evaluateString ( scope , script , sourceName , 1 , null ) ; return this ; }
Evaluates a script and return {@link RhinoScriptBuilder} for a chained script evaluation.

@param script the string representation of the script to evaluate.
@param sourceName the name of the evaluated script.
@return evaluated object.
@throws IOException if the script couldn't be retrieved.
Evaluates a script and return { @link RhinoScriptBuilder } for a chained script evaluation .