I made Drano bombs and set them off on school property when I was a kid, and I turned out pretty good. I mostly pay my taxes and everything. It's not my understanding that that's what happened here, but if it is, it's still a tragedy that this notion of charging a child with a felony for tinkering with interesting chemical reactions got as far as it did.
Children are expected to behave irresponsibly. Adults should be expected to behave responsibly. It is horribly irresponsible to attempt to ruin a child's life over a mistake that lots of kids have made and will make in the future. This is a stern talking to situation, not a "call the feds, it's time to put this kid in jail" situation, and every adult that signed off on the idea of taking this to a criminal level should be really ashamed of themselves.