ScriptableObject.putProperty(scope, "media", Context.javaToJS(new Media(scrutinizer), scope));
ScriptableObject.putProperty(scope, "XMLData", Context.javaToJS(new XMLData(scrutinizer), scope));
ScriptableObject.putProperty(scope, "display", Context.javaToJS(new display(), scope));
ScriptableObject.putProperty(scope, "console", Context.javaToJS(doc.console, scope));
ScriptableObject.putProperty(scope, "info", Context.javaToJS(doc.info, scope));
ScriptableObject.putProperty(scope, "spell", Context.javaToJS(new Spell(scrutinizer), scope));
// redirect String.eval() and app.eval() to eval()
ScriptableObject.putProperty((Scriptable) scope.get("String", scope), "eval", (Scriptable) scope.get("eval", scope));
ScriptableObject.putProperty((Scriptable) scope.get("app", scope), "eval", (Scriptable) scope.get("eval", scope));