Allow override of root DOM element.
Merge pull request #585 from jmwaura/override_root

Allow override of root DOM element.