use PDF.js if selected as a preference for R Markdown output on desktop