$(onLoad);

function onLoad() {
    $('#debug p').click(function() {
        $('#debug .exception').slideToggle();
    });

    $('code').each(function() {
        $(this).before('<p>' + this.title + '</p>');
    });
}
