rem: titleBarElement.appendChild(document.createTextNode("/ Debug Console /")); EchoDebugConsole._windowElement.appendChild(titleBarElement); 
add: EchoDebugConsole._windowElement.appendChild(EchoDebugConsole._titleBarElement);  var titleDivElement = document.createElement("div"); titleDivElement.style.cssText = "position:absolute;font-weight:bold;"; titleDivElement.appendChild(document.createTextNode("Debug Console")); EchoDebugConsole._titleBarElement.appendChild(titleDivElement);  var controlsContainerDivElement = document.createElement("div"); controlsContainerDivElement.style.cssText = "position:absolute;right:0px;"; EchoDebugConsole._titleBarElement.appendChild(controlsContainerDivElement); 
context:     _render: function() {        EchoDebugConsole._windowElement = document.createElement("div");        EchoDebugConsole._windowElement.id = "__DebugConsole__";        EchoDebugConsole._windowElement.style.cssText                 = "display:none;position:absolute;top:20px;right:20px;width:300px;height:300px;background-color:#2f2f3f;"                + "border:5px solid #3f6fff;overflow:hidden;z-index:32767;";                var titleBarElement = document.createElement("div");        titleBarElement.style.cssText                = "position:absolute;top:1px;left:1px;width:278px;height:20px;padding:3px 10px;background-color:#5f5f8f;"                + "color:#ffffff;overflow:hidden;";        titleBarElement.appendChild(document.createTextNode("/ Debug Console /"));        EchoDebugConsole._windowElement.appendChild(titleBarElement);            var clearButtonElement = document.createElement("span");        clearButtonElement.style.cssText = "padding:0 0 0 20px;cursor:pointer;";        clearButtonElement.appendChild(document.createTextNode("[clear]"));        titleBarElement.appendChild(clearButtonElement);        WebCore.DOM.addEventListener(clearButtonElement, "click", EchoDebugConsole._clearListener, false);                var closeButtonElement = document.createElement("span");        closeButtonElement.style.cssText = "padding:0 0 0 20px;cursor:pointer;";        closeButtonElement.appendChild(document.createTextNode("[close]"));        titleBarElement.appendChild(closeButtonElement);        WebCore.DOM.addEventListener(closeButtonElement, "click", EchoDebugConsole._closeListener, false);            EchoDebugConsole._contentElement = document.createElement("div");        EchoDebugConsole._contentElement.style.cssText = "font-family:monospace;font-size:9px;position:absolute;top:28px;left:1px;"                + "width:278px;height:265px;padding:3px 10px;background-color:#1f1f2f;overflow:auto;color:#3fff6f;";        EchoDebugConsole._windowElement.appendChild(EchoDebugConsole._contentElement);                document.body.appendChild(EchoDebugConsole._windowElement);            EchoDebugConsole._rendered = true;    },
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/f14c8812f76ec9aa5348f2dd35db2dec63ebe83e/DebugConsole.js/clean/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/DebugConsole.js