Update app/helpers/pdfjs/viewer_helper.rb

page fit as the default zoom level