models js, collection refers to constructor rather than instance