pdfjs sample code