CoffeeScript tools for event based classes