Implement basic control in CoffeeScript.