[fix] allow PDF viewer to work when not all of its expected DOM elements are present
[fix] allow PDF viewer to work when not all of its expected DOM elements are present

ghinaajour/pdfjs-rails,cph/pdfjs-rails,harrylclc/pdfjs-rails,concordia-publishing-house/pdfjs-rails