Update pdf.js
Update dependencies, add PDFBox
Slighly saner way of doing the text selections