(function ($) {
    $(document).ready(function () {
        var headerTitle = $('.header-title');
        // add span to first letter in all words of header-title
        var text = headerTitle.html();

        var words = text.split(" ");

        for (i = 0; i < words.length; i++) {

            words[i] = "<span class=\"first-letter\">" + words[i][0] + "</span>" + words[i].substring(1);
        }
        headerTitle.html(words.join(" "));
    })
})(jQuery);
