Kotlin2Js Gradle plugin

Why we need javaTask?