Replace ajax base page with Kotlin version