added second data property to HTML element in joinAnimations() function