/* global hljs */
(function() {
    'use strict';
    var cells = document.querySelectorAll('.diff tbody td');
    for (var i = 0, len = cells.length; i < len; i++) {
         hljs.highlightBlock(cells[i]);
    }
})();

/* global hljs */
(function() {
    'use strict';
    document.addEventListener('DOMContentLoaded', function() {
        var cells = document.querySelectorAll('.diff tbody td');
        for (var i = 0, len = cells.length; i < len; i++) {
            hljs.highlightBlock(cells[i]);
        }
    });
})();

Tweak execution timing of highlighting
Tweak execution timing of highlighting
