$(function() {
// Setup the player
var audio = audiojs.createAll();
// Load in a track on click
$('ul li').click(function(e) {
e.preventDefault();
$(this).addClass('playing').siblings().removeClass('playing');
audio[0].load($('a', this).attr('data-src'));
audio[0].play();
});
});