MDL-38661 Make sure all coursecat AJAX support stays inside renderer