Allow AJAX to complete