Also handle other ajax requests