Find the phantomjs binary
find_phantom()
This is taken directly from webshot, where find_phantomjs is a non-exported function.
find_phantomjs