Fixed issue with document types not properly cleaned up from the DOM.  Also, document type is now going in the body element to enable styling per document type