added code to compile to underscore template