finished transition to coffeescript