take a stab at generating keyframe animation css in the JS