contextFactory.call(new ContextAction() {
@Override
public Object run(Context ctx) {
ctx.setOptimizationLevel(debug ? -1 : 9);
ctx.setLanguageVersion(Context.VERSION_1_8);
global.initStandardObjects(ctx, false);
if ( debug ) {
ScriptableObject.putProperty(global, "strikeThePose", new BaseFunction() {
@Override