I don't think there is any question that what the kids did was wrong. However, this is a matter that should have been handled by the school system and their parents.
Detention, suspension, whatever, but what a waste of public resources to have them arrested.
They are kids, and kids do dumb things, and they are punished for it according to their actions and with the knowledge that they are just children.