Removing each() when iterating over anchors