Translated client code to CoffeeScript