Kotlin Create Array Javascript Append Method Js