adapt FileSaver.js to allow including it as a content script in Firefox for Android add-ons