Add js classes to simulate motion for <rect> <circle> <ellipse> svg elements