change for pdfium.js
new api