allow integration tests to be run without global phantomjs
allow client/compile.sh to run without global uglifyjs