Adapt to support PDF.js v1.0.907

... as per #86.

Tested with:
 * Iceweasel 31.2.0 (Shipped with Debian, built on top of Firefox ESR) - ships with PDF.js v1.0.68
 * Firefox 31.3.0 (current ESR a.k.a. Extended Support Release) - ships with PDF.js v1.0.68
 * Firefox 34.0.5 (current stable) - ships with PDF.js v1.0.712
 * Firefox 34.0.5 (current beta - yes, it's the same as stable, just released) - ships with PDF.js v1.0.712
 * Firefox 35.0a2 (developer edition a.k.a. aurora a.k.a. alpha) - ships with PDF.js v1.0.907

According to tests, all involved PDF.js versions are now fully supported.

> This formatting is a bit strange. Can you move the first line down into the function? 

Fixed in https://github.com/hypothesis/annotator/commit/dab95cb43f9237ee704d483a7c3900d86b7991bf