Handlebars.registerHelper('first', function(items, options) {
var having = options.hash.having;
debug("#first checking for first item having '" + having + "'");
Handlebars.registerHelper('first', function(items, options) {
var having = options.hash.having;
debug("#first checking for first item having '" + having + "'");