Really cool! beyond the generation, I learned about https://github.com/viebel/klipse which looks pretty cool. The whole post also makes me want to look more into clojure.
Yep, you don't need a head — browsers will handle that just fine, and the spec generally allows for it. For an example of some HTML that leans quite heavily on the ability to omit tags, see here: http://www.colorglare.com/2014/11/24/stateless-html.html
And you should get into Clojure(Script). It's a joyful language.
And you should get into Clojure(Script). It's a joyful language.