toggle and toggleClassName broken when used with Enumerable.each because of the addition of second boolean parameter