Client code in coffeescript