JS: Equalize Heights of an Array of Elements