Pre-flop, both the initial raise and the call of the 3-bet are a bit loose. Post-flop though I think you play the hand perfectly. When he bets that big on the turn, he's saying he likes his hand and wants to get it in so you read that well and jam. Nice one!
The guy with AA actually posted this hand in the "bad beats and vents" section complaining about "rigged poker sites". Which is kind of funny, especially if you did not see that one and posted it independently. And overall I agree with Collin Moshman. Preflop I probably fold QJo from this position especially without antes. I would play QJs though, and postflop is perfect. You could check-raise him already on the flop, but on this somewhat dry board its fine also to check-call and let the opponent continue to hang himself on the turn. So overall well done. You got the maximum value out of your hand, and thats what poker is all about