a jQuery function for animating SVG multiple path asynchronously