Added export feature with JavaScript FileSaver