} else {
invoker = new RhinoScript(componentName, script, defaultProperties, cl);
}
Map<String, Object> properties = new HashMap<String, Object>();
JavaScriptContextFactory contextFactory = new JavaScriptContextFactory(componentName, scope, services, properties, invoker);
return contextFactory;
}