Using a document fragment, supporting multiple root nodes.

-Extracted a dom module.