Preheat the oven to 350F degrees. Line a 9x13 inch pan with parchment paper leaving an overhang around the edges, or line with aluminum foil and lightly grease.
Whisk together the 3 cups all-purpose flour, baking soda and salt in a large bowl.
In a very large bowl, beat together the butter, brown sugar and 1/2 cup white sugar. Beat in the peanut butter.
Mix in the eggs and vanilla extract.
With the mixer on low speed, beat in the flour mixture about 1/2 at a time. The dough will be very thick and sticky.
Press about 2/3 of the mixture into the bottom of the prepared pan (you should have about 1 and 1/2 to 2 cups of batter remaining for the topping).
Spread the jelly over top of the peanut butter layer.
Mix the reserved peanut butter dough with the 2 tablespoons white sugar and 2 tablespoons white sugar.
Pinch off pieces of the peanut butter dough, and place on top of the jam layer. You do not need to fully cover the jam layer.
Sprinkle the chopped peanuts on top.
Bake in the preheated oven for about 45 minutes (likely closer to 50 minutes for a glass/ceramic pan), or until golden on top.
Cool for at least 4 hours in the pan. Once the bars are completely cooled, lift them out of the pan using the overhang of the parchment/aluminum foil. Place on a cutting board and slice into bars.