Add a js plugin of pdf operation