Update bezier-editor.js

Add export feature.