Implement identity functor in coffeescript