Working on templates with doT js