Currently there is bagging code in collection.js but I'm about to add some that will work without using collection.js at all (like the HTML generation). Need to remove duplication later.