<%= day %> <% if (events.length > 0) { %>
<% _.each(events, function(event) { %> <% if (_.contains(window.activeCategoryIds, event.categoryId)) { %> <% } %> <% }); %>
<% } %>