code: function replaceChild(parent, element, refNode) {
      element = getComponentNode(element) || element;
      refNode = getComponentNode(refNode) || refNode;
      if (element.parentNode) {
          disconnect(element);
      }
      parent.replaceChild(element, refNode);
      disconnect(refNode);
      return connect(element);
  }
docs: Dynamically replace a node with another and call all the reactions.
  - disconnect the node if already in the tree
  - disconnect the replaced node
  - connect the first node after the insertion
  @method replaceChild
  @memberof DNA.DOM
  @static
  
  @param {HTMLElement} parent The parent element.
  @param {HTMLElement} element The element to insert.
  @param {HTMLElement} refNode The node to replace.
  @return {Boolean} The node has been appended.