Newest version of phantomjs

Seems to work fine on OS X as well
Moved some things around and made the log files configurable