optional callback to download pdfs
Merge pull request #2 from purposeindustries/optional-callback

make callback optional to be able to download pdfs