Replacing _.each with coffeescript for