Replace get reply ajax page with Kotlin version