Added a Pubmed script. This is a port of the JS code, and it's possibly even slightly faster.