A DSL for assembling templates from living dom nodes