rem: if (libraryElements.item(i).getAttribute("wait") == "true" && EchoScriptLibraryManager.getState(serviceId) != EchoScriptLibraryManager.STATE_LOADED) { 
add: if (EchoScriptLibraryManager.getState(serviceId) != EchoScriptLibraryManager.STATE_LOADED) { 
context: EchoServerMessage.isLibraryLoadComplete = function() {    // 'complete' flag is used to set status to 'failed' in the event of an exception.    var complete = false;    try {        var librariesElement = EchoServerMessage.messageDocument.getElementsByTagName("libraries").item(0);        var libraryElements = librariesElement.getElementsByTagName("library");                var returnValue = true;        for (var i = 0; i < libraryElements.length; ++i) {            var serviceId = libraryElements.item(i).getAttribute("service-id");            if (libraryElements.item(i).getAttribute("wait") == "true" &&                    EchoScriptLibraryManager.getState(serviceId) != EchoScriptLibraryManager.STATE_LOADED) {                // A library that requires immediate loading is not yet available.                returnValue = false;                break;            }        }        complete = true;        return returnValue;    } finally {        if (!complete) {            EchoServerMessage.status = EchoServerMessage.STATUS_PROCESSING_FAILED;        }    }};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/7efa85aed4defa3025ce33c7bc342b241d87be1a/ClientEngine.js/clean/src/webrender/java/nextapp/echo2/webrender/resource/ClientEngine.js