Combined setting the vertical alignment and overriding the minimum height of elements to be equalised into one call.
Split setting the vertical alignment and overriding the minimum height of elements into a separate loop and detached the elements to reduce the number of reflows and repaints.
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.