Modify example to use CoffeScript