The play was fine, the things I owuld have done differently is bet that flop much stronger, a pot sized bet. He may not have laid down top pair with great kicker...but he may have put you on A-Q and been scared of being out kicked. But you play here was definately not bad.
The only real thing I would have done significantly different is bet that turn...strong. With the gutshot hanging out there, you probably could have gottent him to fold - if he played back at you with a reraise you give him credit for the jack and fold...if he just calls you then check/fold on the river.
What 'rilla and I suggested is just a different style of play...I continually have to "force" myself to be aggressive - it is easy to check down a scary flop, but I have won far more than I have lost by simply firing out a strong bet (within reason) on the flop even if it did not help my hand. Give them a reason to fold - if they call then you may be in trouble...if they raise, well then you know where you stand...and may have saved yourself several bets on the other streets.