Add support for rendering PDF file in the browser