add mocha support and drop karma support