/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/script/RhinoScriptBuilder.java
context.getCurrentContext( ) ;
context.setOptimizationLevel ( -1 ) ;
} public ScriptableObject getScope() { return this.scope; } private ScriptableObject createContext(final ScriptableObject initialScope) { final Context context = getContext(); <extra_id_0> context.setErrorReporter(new ToolErrorReporter(false)); context.setLanguageVersion(Context.VERSION_ES6); final ScriptableObject scriptCommon = (ScriptableObject) context.initStandardObjects(initialScope); try (InputStream script = new AutoCloseInputStream(getClass().getResourceAsStream(SCRIPT_COMMONS))) { context.evaluateReader(scriptCommon, new InputStreamReader(script), SCRIPT_COMMONS, 1, null); } catch (final IOException e) {