Use wkhtmltopdf gem