added completion callback and improved example with multiple SVGs handling