code: function (node, preceding) {
              var next = preceding.nextSibling, parent = preceding.parentNode;
              if (next) {
                  parent.insertBefore(node, next);
              } else {
                  parent.appendChild(node);
              }
              return node;
          }
docs: insert node after preceding
  
  @param {Node} node
  @param {Node} preceding - predicate function