Update svgToPdf.js

Fixing a default value check which didn't check for the existence of the correct property.
Merge pull request #2 from bgribaudo/patch-1

Fixed default values