Addition of _initDoctype to set HTML doctype.