This takes an array of jquery objects (filtering out nulls) and puts them all in a single jQuery object.
I'll add a comment.