via a suggestion from @miketahani, used d3.xml to fetch the external svg, thus avoiding jQuery