Fixed param passing in  svgDoc.new