Take advantage of jquery's iterators