enable pdf.js on linux and windows (still doesn't fully work)