The wire on the passenger side of the
soft top window glass should run down between the window and the
soft top and emerge from the fabric of the upper top, pass out between the upper and lower fabric pieces, then through that hole you see and back behind the fabric. It
plugs into a connector near the top of the rear bulkhead behind the passenger seat. The wire on driver side of the window glass runs the same, through a hole, and is fastened under a screw or bolt to the car body- it's grounded. Those loose wires you see still have the ends that should be bonded to a window, so if you still have a heated
soft top window, then it was replaced and the new wires were run differently than the factory, or were never hooked up at all. The connector on the passenger side is hard to unplug- there's a lock that has to be pried up to release it before the wire to the window can be pulled out. You can see/feel this by unsnapping the snaps between the upper and lower fabric pieces on either side of the soft-top well. (note that in your photo, those snaps you see should have the outside
part of the
soft top well fabric snapped to them at all times) The fabric has a stiff plastic edge with a slot that snaps over a plastic button on the outside of the
soft top well so it slides a little. You can take the slotted plastic edge off the button to pull the fabric back more. For access, move the seats all the way forward and stand in the floor behind them, pretending you have small feet..... If it's hard to see in there, you may want to get a cheap video bore-scope on
Amazon or
Ebay. The DepsTech Wireless Endoscope hooks up to your cell phone and is inexpensive.