Linking JS stdlib to generated kdoc

Developing a Kotlin/JS project, we are generating KDoc using Dokka Maven plugin. However standard JS library classes are presented as ERROR CLASS in the generated doc.

Example: having function like this:

fun HTMLElement.component(label: String, init: () -> Unit)

gives documentation:

fun <ERROR CLASS>.component(label: String, init: () -> Unit)

We are behind proxy and the Dokka plugin is configured to work offline (<offlineMode>true</offlineMode>). How can we link the stdlib documentation to the generated one?