replaced use of jQuery for collection functionality with Underscore.js