detect PDF support in the browser