While I have no doubt the parents didn't stop him (in fact they seemed to be schepping nachas backstage), any kid only has to go on the internet or watch some tv to hear dirty jokes and stories like this.
I'm sure lots of 12 year old kids watch Americas Got Talent!