New version in coffeescript

I 'm learning coffeescript and I have "translated" this project to
coffeescript.