Modified CoffeeScript example to use CoffeeScript