Modifying the base file for AJAX seems a little drastic. Why is this needed?