Use javascript to display the pdfs, rather than the browser. #19