JSFiddle - React, Tailwind, and code Playground

JavaScript

document.write("test line");
if (typeof jQuery.ui != 'undefined') {
    // UI loaded
    document.write("jQuery loaded");
} else {
    // UI not loaded
    document.write("jQuery didnt load");
}