
Instead of appending/removing elements to document.body, add a global that defines what the root element is. This way, in apps that use elements with addional content outside, they will just need to set a root element. Change-Id: I0d01e4a6eea7d7d0af39989f1f831832506f1774