(fix) use console.log for .js.js deprecation warning
(fix) use console.log for .js.js deprecation warning

Technically (with a build system) this code could end up in the
browser, so we should use only APIs available in both browser and
node.js.

Resolves #3222.

carlokok/highlight.js,highlightjs/highlight.js,highlightjs/highlight.js,highlightjs/highlight.js,carlokok/highlight.js,carlokok/highlight.js,highlightjs/highlight.js,isagalaev/highlight.js,isagalaev/highlight.js,carlokok/highlight.js