wkhtmltox.js: give a name to the anonymous function.

Giving the function a name helps when reading through stack traces.