trans js 2 coffeescript