Updating to match changes in ajax.js