reuse the is_ajax property instead of is_ajax()
add comments