make Node.insertBefore DocumentFragment-compliant