Adjust doctype & jade dependency version

* Don't call `done` multiple times on error
* Use proper `DOCTYPE`
* Use up-to-date version of jade