add correct doc type and header to the webpage