Kotlin Create Array Javascript Length Text