Removes getImageData from canvas.js
Merge pull request #3312 from yurydelendik/no-getimagedata

Removes getImageData from canvas.js
Simplify getting the pdf url.
Merge pull request #3326 from brendandahl/spec-fix

Simplify getting the pdf url.