Update parser.js

changes for unecessary excecutio of addSvgTransform