Kotlin2Js Gradle plugin

I think more properly to check that it's kotlin file.

P.S. I see that it's legacy code