Collections management for javascript based on Backbone.collections