adding require for older ruby
more refactoring
updated to 0.12 release of wkhtmltopdf