Attempts to get the pdf into pdfjs