Allow to cross-compile in js the chrome-inline-macro extension

Resolve the build failure in https://github.com/asciidoctor/asciidoctor.js/pull/65