Convert to doctype html

I want to partially resolve #10 with this pull request.

The old solution used to produce:

```html
<doctype></doctype>
```

instead of

```html
<!DOCTYPE html>
```