PDFObject Example: Invoking conditional JavaScript upon successful embed