switched to mocha-phantomjs to make tests compatible with TravisCI