added eval function to joinAnimations to parse string to function