Migrado a coffeeScript