I'm new to CoffeeScript, so I did some cleanup.