Animatation for arcs and bezier curves with jQuery