API change to allow for custom phantomjs binary path