Removing a class that hides an element is giving me too much recursion

I use a collection to store information of text. each document represents a text sent. I initially hide all collections. When a user presses a button, a user should be able to see all documents in a collection. I do this by calling an id to remove a class that hides the text. When I call this function it only displays a couple out of the entire collection and give me an error saying that there is too much recursion.

EJSON.isBinary /packages/ejson.js:394:14
EJSON.clone /packages/ejson.js:504:7
EJSON.clone/< /packages/ejson.js:531:16
_.forEach /packages/underscore.js:157:13
EJSON.clone /packages/ejson.js:530:3
EJSON.clone/< /packages/ejson.js:531:16
_.forEach /packages/underscore.js:157:13
EJSON.clone /packages/ejson.js:530:3
EJSON.clone/< /packages/ejson.js:531:16
_.forEach /packages/underscore.js:157:13
EJSON.clone/packages/ejson.js:530:3
EJSON.clone/< /packages/ejson.js:531:16

What is wrong with ejson?

Please share your code.