Adapt to support PDF.js v1.0.907
Removed superfluous scoping
Merge pull request #88 from hypothesis/support-pdfjs-1.0.907

Adapt to support PDF.js v1.0.907