Generate beautiful pdf using phantomjs.