In the live demo snippet, would be great if the pdfium instance, javascript API, is exposed. Right now, there is only an init() method, that returns an HTML element. We can't interact programmatically with pdfium (count page, extract text...)