i think that this was just a tough hand to get a good pot from. i mean, if you bet too hard on the flop, he figures you for 888
. so you go easy on the flop probably hoping to get the pot up on the turn. but then after the turn, the community cards are 8899, which now makes it tough to bet hard again. by the time you get to the river, a bet is going to make him fold (unless it is very small), so you check hoping that he bets. now the community cards are scary to someone holding JJ so he checks.
i'm very much an amateur at this, but it seems to me that there wasn't much more you could do to extract more chips from this hand.
nice hand though - always better to win something than nothing!