category chooser with CoffeeScript