check xpdf (
http://www.foolabs.com/xpdf/)
you can use it to extract text, export pdf to postscript file and stuff like that. it alse exports to html/xml, but dunno how well that works, and it's not html5
imagemagick can convert pdf to just about any graphic format so i guess you could use that as well and output graphics to browser
i don't think you'll find ready to use script. you'll have to whip it up