$(document).ready(function() {

// This function prevents widows in article titles. Remove if we're okay with widows.
$("h2 a").each(function() {
        var wordArray = $(this).text().split(" ");
        wordArray[wordArray.length-2] += "&nbsp;" + wordArray[wordArray.length-1];
        wordArray.pop();
        $(this).html(wordArray.join(" "));
});

});