Added support to last version of pdf.js