chai-js-factories plugin for karma