Added canvas caching to `pdf.class.js`
First iteration of `findTarget` improvements