rework template to work with backbone collection data