Coffeesript migration