Discourse Syntax Highlighter - does anyone know what it is?

OK. I uploaded that onto my server and it worked just fine, albeit it took a second or so to actually render from a list and into code. I’m now curious to know why that approach worked, rather than the one that the highlightjs.org outlines. What is it that your extra piece of JS script is doing that theirs didn’t?