Bug 198239 Memory leak using script and also localized strings
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java
}
			catch ( RhinoException jsx )
			{
				Context.exit( );
				throw convertException( jsx );
			}
			scope.setPrototype( scPrototype );
			
			
		}
		
		
		
		
		
		
		
		final Object oConsole = Context.javaToJS( logger, scope );
		scope.put( "logger", scope, oConsole ); 
		Context.exit( );
	}
	/**
	 * Registers an existing scriptable object into current JavaScript context.
	 * 
	 * @param so
	 *            The existing scriptable object to be registered
	 * @param sVarName
	 *            The name of the javascript variable associated with the new
	 *            scriptable object that will be added to the scope
	 * @throws ScriptException