$(function () {
var txt = $(".content").text();
wordCount = txt.replace( /[^w ]/g, "" ).split( /s+/ ).length;
var readingTimeInMinutes = Math.floor(wordCount / 228) + 1;
var readingTimeAsString = readingTimeInMinutes + " min";
$('article .reading-time').html(readingTimeAsString);
});