JSFiddle - React, Tailwind, and code Playground
JavaScript
$.when(
$.getScript( "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js" ),
$.getScript( "https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" ),
$.Deferred(function( deferred ){
$( deferred.resolve );
})
).done(function(){
//place your code here, the scripts are all loaded
if (typeof jQuery.ui !== 'undefined') console.log('jQuery UI is loaded');
if (typeof swfobject !== 'undefined') console.log('swfObject is loaded');
});