How about

    activeHandIds = activeHandIds.filter (id) ->
      if newValidHands.indexOf id is -1 then @emit 'handLost', frame.hand id else true

?