add js evaluation to wkhtmltopdf