CommonJS Mocha testable shared JavaScript library