preflop obviously you should raise as everybody said already.on the flop both checking and betting are fine, I lean towards checking, because you have way too many hands to bluff, like flush draws, 67, 78 and etc. Against big blind I think it's better to bet J8, but small blinds range here is stronger, this boards hits him well, so you shouldn't c-bet so often.
Anyway, you get call, turn is jack. Here it is easy check. You won't get called two more streets with worse hand and it will hurt you if you get raised as it happened here, because by folding you give up too much equity. Also, if you bet you should bet higher, because by betting this small you revealing your hand. Once he goes all-in you don't beat anything, and even his bluffs have great equity against your hand, so it's fold.