convert jquery to coffeescript