A factory library for node.js and the browser inspired by factory_girl