Move JS into file, and download pdf.js