Logicfull functional DOM templating