adjusted copy of #1701
remove unused code that breaks IE11 js execution
Merge pull request #1724 from owncloud/update-pdf-stable6

Updated pdf.js to fix IE support etc