Improved AJAX performance