I just realized that it might be cleaner to create a function in `PDFFindController` and call that, rather than resolving the promise manually in viewer.js.
@brendandahl Would this better?