Simplify CoffeeScript example

Use destructured assignment