add document type class to body element