How can dynamically add a class "timelineEven" to list the element on every even ul I was able to add \'timeline_inverted_parent\' class to every oder ul parent elemen