more coffeescript migration