experiments with coffeescript syntax, based on guide at http://coffeescript.org/