fixed CoffeeScript function call syntax