add pace.js for automatic page progress;use pdf.js to view PDF generated with phantomJS