Configure mocha and karma to run on server and client respectively