detect phantomjs path

Possible fix for #9