install phantomjs mocha globally