AJAX config setup