fix travis in mocha script