Fix importSVG

importSVG is broken - got an error when running 'node SVGImport.js' example ('doc is not defined').
seems to have been broken by latest commit, 'doc' to 'document' rename.