added coffeescript version
added coffeescript test