fix index call to baseVal which is unsupported in safari
fix index call to baseVal which is unsupported in safari

ivanbatic/cwl-svg,ivanbatic/cwl-svg,rabix/cwl-svg,rabix/cwl-svg,ivanbatic/cwl-svg,rabix/cwl-svg,ivanbatic/cwl-svg