This is the correct way to wire the right front burner on Jenn-Air JEC8430ADS cooktop. Let's do the red wires first. The red wire that comes from #2 on the switch goes to the common connection for the element that should be labeled 2a. The other red wire goes to either of the "b", hot surface indicator switch contacts and the black to the other. Use 1b or 2b for these connections whichever reaches easiest. The yellow wire goes to the inside loop of the burner and the tan to the outside element.
first, disable power to cooktop. next, replace either the mangled burner or the entire unit (after initial inspection leads to a logical prognosis)...sorry.