clone doctype
keep original document doctype when wrapping in iframe