Clean up ajax calls as they are used