slightly cleaner coffeescript idiom