Moving to CommonJS and Karma
Added testem