Replace get status AJAX page with Kotlin version