CoffeeScript functions and data structures