if ( scriptListeners==null ) { scriptListeners = new HashMap();
if (scriptListeners == null) { scriptListeners = new ArrayList();
    public final synchronized void addScriptListener(ScriptListener listener) {        if (listener == null)            return;        // lazyly create HashMap        if ( scriptListeners==null ) {            scriptListeners = new HashMap();        }        scriptListeners.put(listener.getEvent(), listener);        if (listener.getScript() != null) {            reload(ReloadManager.RELOAD_SCRIPT);        }    }