That makes sense.  Is there a "$.first()" method?  Maybe you could do that prior to the "$.each()" method?  maybe you've already done this in your new commit.