Rewrite Javascript to jQuery
    $(document).ready(function() {

    var songList = [
        'song1.ogg',
        'song2.ogg',
        'song3.ogg'
    ];
    var randomNumber = Math.floor(Math.random()*songList.length);
    
	var audioElement = document.createElement('audio');
	audioElement.setAttribute('src', songList[randomNumber]);
	audioElement.load();
    
    audioElement.addEventListener('ended', function() {
        randomNumber = (randomNumber + 1) % songList.length;
        audioElement.setAttribute('src', songList[randomNumber]);
        audioElement.play();
    });
	
    $('#play').click(function() {
        audioElement.play();
        $('span#play').fadeOut('slow');
        $('span#pause').delay(1500).fadeIn('slow');
    });
    
    $('#pause').click(function() {
        audioElement.pause();
        $('span#pause').fadeOut('slow');
        $('span#play').delay(1500).fadeIn('slow');
    });
    });

Could someone do this? I tried myself, but everytime it doesnt work. Here you got a jsfiddle link to try: http://jsfiddle.net/dRhnC/
Rewrite Javascript to jQuery
===

    $(document).ready(function() {

    var songList = [
        'song1.ogg',
        'song2.ogg',
        'song3.ogg'
    ];
    var randomNumber = Math.floor(Math.random()*songList.length);
    
	var audioElement = document.createElement('audio');
	audioElement.setAttribute('src', songList[randomNumber]);
	audioElement.load();
    
    audioElement.addEventListener('ended', function() {
        randomNumber = (randomNumber + 1) % songList.length;
        audioElement.setAttribute('src', songList[randomNumber]);
        audioElement.play();
    });
	
    $('#play').click(function() {
        audioElement.play();
        $('span#play').fadeOut('slow');
        $('span#pause').delay(1500).fadeIn('slow');
    });
    
    $('#pause').click(function() {
        audioElement.pause();
        $('span#pause').fadeOut('slow');
        $('span#play').delay(1500).fadeIn('slow');
    });
    });

Could someone do this? I tried myself, but everytime it doesnt work. Here you got a jsfiddle link to try: http://jsfiddle.net/dRhnC/