jQuery blended with this. Cleans the markup a notch.
$("h1").each(function(i) { $(this).prepend('<span>'+$(this).html()+'</span>'); });