Translation to coffeescript