move document type to the first line of the document, avoid IE quirks mode