docs: function detach(el) {
    var parent = el.parentNode
    var next = el.nextSibling
    parent.removeChild(el)
    return function() {
      if (next) parent.insertBefore(el, next)
      else parent.appendChild(el)
    }
  }