minor stylistic improvements and reland DOMFragment overlays