compiling templates in coffee