Like the saying goes, "There are three ways to play pocket Jacks. All wrong."
In the situation you described, you have to play it carefully. JJ is dangerous because they look better in your hand than they really are. Susceptible to an overpair, you have be careful preflop...and even more careful postflop. If 3 undercards hit the board on the flop, it seems reasonable to push. However, with 3 cards all 10 - 2, that means you've got a straight possibility out there. Also, if someone is playing A-rag, they may have hit the rag and now thingk they are ahead in the hand.
Moral of the story: Be careful. It's a tough hand to play because it looks better than it really is. If you don't trip up and there is an over-card on the board, be prepared to release the hand.
I hope this helps.