added pdfjs defs