JSFiddle - React, Tailwind, and code Playground

JavaScript

(function(){
    var t=null;
    if( typeof navigator.mimeTypes['audio/wav']=='object' 
    && navigator.mimeTypes["audio/wav"].enabledPlugin!=null ) {
        t=new Element('embed');
        t.autostart =
        t.playcount = 1;
        t.width =
        t.height = 0;
        t.type="audio/wav";
    } else {
        t=new Element('bgsound');
        t.loop=0;
    }
    if(t!=null){
        t.src="http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples/SoundCardAttrition/stereol.wav";
        document.body.appendChild(t)
    }
})();