updated pdfViewer.php