adds DOCTYPE and <head>