Converting jQuery to CoffeeScript as needed