Fix AJAX pointer