Replace get times ajax page with Kotlin version