docs: function contains(container, maybe) {
    // 16 is for a nodeType constant: window.Node.DOCUMENT_POSITION_CONTAINED_BY,
    // but the window.Node object is not available in IE8
    return container.contains ? container.contains(maybe) :
      !!(container.compareDocumentPosition(maybe) & 16);
  }