Update app/helpers/pdfjs/viewer_helper.rb

last page button works in firefox 12 now