Coffeescript migration