}
public static Object execute(String preGeneratedJs) {
try {
File jsfile = new File(preGeneratedJs);
ExecutionResult execResult = new RhinoExecutor().run(Collections.singletonList(jsfile), false);
return convert(execResult.getResult());
}
catch (ScriptException se) {
throw new RuntimeException(se);
}