}
String returnExpression = scriptDef.getReturnExpression();
ScriptEngine scriptEngine = language == null ? scraper.getScriptEngine() : scraper.getScriptEngine(language);
scriptEngine.eval( scriptText.toString() );
if (returnExpression != null) {
String returnExpressionEvaluated = BaseTemplater.execute( scriptDef.getReturnExpression(), scraper.getScriptEngine());
Object returnValue = scriptEngine.eval(returnExpressionEvaluated);
return CommonUtil.createVariable(returnValue);