Added a CoffeeScript impl. (partial)
Added exports