make template use doT.js. put in sample data