split the latter half of highlight.pack.js into a separate file which registers all the languages and exports hljs. this is for nodejs compatibility and mimics the way the highlightjs module works in nodejs.