just write html like Jade. CoffeeScript is all you need. (a lightweight html template engine based on CoffeeScript)