<script><br />
$(document).ready(function () {<br />
    // Select the DVLA Details <dd> element<br />
    var dvlaDetailsText = $("dt:contains('DVLA Details')").next("dd").text();<br />
<br />
    try {<br />
        // Parse the JSON string into an object<br />
        var dvlaDetails = JSON.parse(dvlaDetailsText);<br />
<br />
        // Format the output<br />
        var formattedDetails = `<br />
            <strong>Make:</strong> ${dvlaDetails.make} <br />
            <strong>Model:</strong> ${dvlaDetails.model} <br />
            <strong>Date of First Registration:</strong> ${dvlaDetails.dateOfFirstRegistration} <br />
            <strong>Date of Last V5C Issued:</strong> ${dvlaDetails.dateOfLastV5CIssued} <br />
            <strong>Year of Manufacture:</strong> ${dvlaDetails.yearOfManufacture} <br />
            <strong>Cylinder Capacity:</strong> ${dvlaDetails.cylinderCapacity} <br />
            <strong>CO2 Emissions:</strong> ${dvlaDetails.co2Emissions} <br />
            <strong>Fuel Type:</strong> ${dvlaDetails.fuelType} <br />
            <strong>Transmission:</strong> ${dvlaDetails.transmission} <br />
            <strong>Tax Status:</strong> ${dvlaDetails.taxStatus} <br />
            <strong>Colour:</strong> ${dvlaDetails.colour} <br />
            <strong>Type Approval:</strong> ${dvlaDetails.typeApproval} <br />
            <strong>Wheel Plan:</strong> ${dvlaDetails.wheelPlan} <br />
            <strong>Revenue Weight:</strong> ${dvlaDetails.revenueWeight} <br />
            <strong>Tax Details:</strong> ${dvlaDetails.taxDetails} <br />
            <strong>MOT Details:</strong> ${dvlaDetails.motDetails} <br />
            <strong>VIN:</strong> ${dvlaDetails.vin} <br />
            <strong>Taxed:</strong> ${dvlaDetails.taxed ? "Yes" : "No"} <br />
            <strong>MOT Valid:</strong> ${dvlaDetails.mot ? "Yes" : "No"} <br />
            <strong>Licence Plate:</strong> ${dvlaDetails.licence_plate} <br />
        `;<br />
<br />
        // Replace the original JSON text with formatted output<br />
        $("dt:contains('DVLA Details')").next("dd").html(formattedDetails);<br />
    } catch (e) {<br />
        console.error("Error parsing JSON:", e);<br />
    }<br />
});<br />
</script>