tswicegood/armstrong.apps.related_content — comment on commit 7f52c5aeaa6cd3568112e2f04145b40e1ca27e93
File:  line 0
By crccheck:

would prefer to see the :even and :odd jquery selecters put into action. (http://api.jquery.com/even-selector/)
So something like

rows.filter(':even').removeClass('2').addClass('1');
rows.filter(':odd').removeClass('1').addClass('2');