Fix a Firefox bug, and make randomizeIDs() work with the new API (no global svgCanvas object).
Fix a Firefox bug, and make randomizeIDs() work with the new API (no global svgCanvas object).
Edyt/svg-edit,Edyt/svg-edit,Edyt/svg-edit,Edyt/svg-edit