separated exportsvg.js