Converted from Handlebars to Underscore templates