panels: more coffeescript idioms