Removed Flash for downloading the file

Now thanks to FileSaver.min.js and Blob.js made by
https://github.com/eligrey/ the file can be downloaded without requiring
flash.
Round of fixes

-It now calculates how long it takes to generate the XML
-Fixed the scrapping of numbers bigger than the requested max
-Variables names cleanup to avoid conflicting with reserved namespaces.