Add export to file

* add FileSvae.js from
https://github.com/eligrey/FileSaver.js/