Support for pdf.js (ff19)