Aces and kings are a shame to fold no matter the circumstance. I would even consider queens to go all in preflop. JJ is still somewhat decent but don't inspire as much confidence. But again, it is all very situational.
When there are 5 players left, you can hardly call it a bubble. I know technically might be correct but it's not though is it?
What I'm saying is that in that particular situation I would have gone all in with any pair over 77, and surely, without a doubt with kings and jacks. Could be wrong, depending on the players involved, or could be right depending on the environment.
However, when your on the bubble and can survive it when there's 70 players left and one or two need to bubble, then I would fold even aces some percentage of time, not always.
In my opinion, in your situation, what would you risk if not a top pair? It is a tough game and a tough position to be in, but you have to take risks to reach a good spot and the risks have to be motivated by numbers.
When you play the 1000th tournament, you will not question yourself anymore. You'll just know that anything can happen but you will not doubt your decisions anymore because you know that percentage-wise, you made the correct one. When you start playing poker you doubt and blame everything, but the more practice you get, the more you stop caring about isolated spots.
Don't throw rocks at me, it's just my opinion about a simple game of cards. Just keep it simple and you'll be happier if not richer.