added impl in coffee script and updated readme