rewrote concord-util module in coffee-script