AJAX seems to be working, and not crashing browser