rem: document.getElementsByTagName("body")[0].appendChild(windowElement); 
add: document.getElementsByTagName("body")[0].appendChild(EchoDebugConsole._windowElement); 
context: EchoDebugConsole._init = function() {    var windowElement = document.createElement("div");    windowElement.id = EchoDebugConsole._BASE_ID;    windowElement.style.position = "absolute";    windowElement.style.top = "20px";    windowElement.style.right = "20px";    windowElement.style.width = "300px";    windowElement.style.height = "300px";    windowElement.style.background = "#2f2f3f";    windowElement.style.color = "#3fff6f";    windowElement.style.border = "5px solid #3f6fff";    windowElement.style.overflow = "hidden";    windowElement.style.zIndex = 32767;        var titleBarElement = document.createElement("div");    titleBarElement.style.position = "absolute";    titleBarElement.style.top = "1px";    titleBarElement.style.left = "1px";    titleBarElement.style.width = "278px";    titleBarElement.style.height = "20px";    titleBarElement.style.padding = "3px 10px";    titleBarElement.style.background = "#5f5f8f";    titleBarElement.style.color = "#ffffff";    titleBarElement.style.overflow = "hidden";    titleBarElement.appendChild(document.createTextNode("/ Debug Console /"));    windowElement.appendChild(titleBarElement);    var clearButtonElement = document.createElement("span");    clearButtonElement.style.padding = "0px 0px 0px 20px";    clearButtonElement.appendChild(document.createTextNode("[clear]"));    titleBarElement.appendChild(clearButtonElement);    EchoWebCore.DOM.addEventListener(clearButtonElement, "click", EchoDebugConsole._clearListener, false);        var closeButtonElement = document.createElement("span");    closeButtonElement.style.padding = "0px 0px 0px 20px";    closeButtonElement.appendChild(document.createTextNode("[close]"));    titleBarElement.appendChild(closeButtonElement);    EchoWebCore.DOM.addEventListener(closeButtonElement, "click", EchoDebugConsole._closeListener, false);    var contentElement = document.createElement("div");    contentElement.setAttribute("id", EchoDebugConsole._CONTENT_ID);    contentElement.style.position = "absolute";    contentElement.style.top = "28px";    contentElement.style.left = "1px";    contentElement.style.width = "278px";    contentElement.style.height = "265px";    contentElement.style.padding = "3px 10px";    contentElement.style.background = "#1f1f2f";    contentElement.style.overflow = "auto";    windowElement.appendChild(contentElement);        document.getElementsByTagName("body")[0].appendChild(windowElement);    EchoDebugConsole._initialized = true;}
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/672ad3a391121e5f96eb15836e1874a249fc0549/DebugConsole.js/buggy/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/DebugConsole.js