AJAX check added to `yii\web\View::registerCsrfTags()`.