anchor.diff:    });
   
     // Initialize
  -  this.inner = findChild('console-inner');
  -  this.clipboard = findChild('clipboard');
  +  this.inner = findChild(container, 'console-inner');
  +  this.clipboard = findChild(container, 'clipboard');
     this.remotePath = container.dataset.remotePath;
     this.newPromptBox();
     this.insertCss();
  
positive.code:   // Render the console.
    container.innerHTML = consoleInnerHtml;
  
    // Get a child element by class name
    function findChild(className) {
      return container.getElementsByClassName(className)[0];
    }
  
    // Make the console resizable.
    findChild('resizer').addEventListener('mousedown', function(ev) {
      var startY                   = ev.clientY;
      var startHeight              = parseInt(document.defaultView.getComputedStyle(container).height, 10);
      var consoleInner             = _this.inner;
  
negative.code: function removeAllChildren(el) {
    while (el.firstChild) {
      el.removeChild(el.firstChild);
    }
  }
  
  function findChild(el, className) {
    for (var i = 0; i < el.childNodes.length; ++ i) {
      if (hasClass(el.childNodes[i], className)) {
        return el.childNodes[i];
      }
    }
  }
  
  