Fix asset path for pdfjs
Use javascript_tag
Fix trailing whitespace
Merge pull request #1951 from david-yz-liu/fix-pdf-assets

Fix asset path for pdfjs