Was NATO intervention in Yugoslavia justified?

I've taken a pretty strong "intervention never justified' stance, but I admittedly know little about the balkans, and if intervention ever were justified it would be in the case of genocide. I've heard Chomsky and Parenti called genocide deniers and justify the bombing because Serbia was doing that genocide. It sounds like every anti-communist smear ever created, but I know there weren't really any "good guys" here