Update parser.js

Let new svg import not overwrite earlier svg's styles and gradients.
fixes multiple import of svg with styles and gradients