final Class< ? >[] evalFnTypes = {String.class};
final Member evalFn = Window.class.getMethod("custom_eval", evalFnTypes);
final FunctionObject jsCustomEval = new FunctionObject("eval", evalFn, window);
window.associateValue("custom_eval", jsCustomEval);
for (final String jsClassName : jsConfig.keySet()) {
final ClassConfiguration config = jsConfig.getClassConfiguration(jsClassName);
final Method jsConstructor = config.getJsConstructor();
if (jsConstructor != null) {
final Scriptable prototype = prototypesPerJSName.get(jsClassName);
if (prototype != null) {