Translate jQuery to CoffeeScript