Pattern matching for CoffeeScript