Added support for karma
Removed node dependency on mocha