Custom template helper for mustache