function fail(msg) {
    console.log('FATAL ERROR: ' + msg);
    phantom.exit(1);
}
@overview
<p>Scraping harness for PhantomJS. Requires PhantomJS or PyPhantomJS v.1.3
</p>

@name pjscrape.js
@author Nick Rabinowitz (www.nickrabinowitz.com)
@version 0.1