I am building a small viewer to read PDFs stored on my home NAS right in the browser. It uses PDF.js to render pages one by ...