Split setting the height of elements into a separate loop and detached the elements to reduce the number of reflows and repaints.
Added working example for equal height plugin.
Moved declarations to appropriate scope.
Cached $( this ).
Substituted '-= 1' for '--'.