{
Context context = Context.enter();
context.setOptimizationLevel(OPTIMIZATION_LEVEL);
try {
scope = new JSGlobal(context);
// Register some handy classes with JavaScript, so we can make
// use of them from the flow layer.
// Access to the Cocoon log