Generate PDF from HTML using PhantomJS