Refactoring to source in SVG drawing via an Ajax call, rather than embedding directly in document.