Some questions for you.
Why did you call the bet on the flop?
Why did you bet the river?

I may have made the same play on the flop (I just want to hear what you were thinking) but I think, especially since you hadn't put much money in, that the river would be an easy fold. You missed on a set and the odds that someone has an ace and has now beaten your paired Jacks are really pretty good.