Finish ajax call.