Javascript Create Svg From String