https://code.google.com/p/svg-edit fork