Attempting to go from regular php header download to using ajax in jQuery and filesaver.js (https://github.com/eligrey/FileSaver.js). Pdf is downloaded but seems the wrong e