Source code from the SVG Developers Google+ Community