Update parser.js

Allow first example of stroke svg import to work properly