Added callback to wkhtmltopdf function

Simply added the ability to use a callback when generating a pdf (useful when using this along with xvfb).