Japan, Korea survive scares as China crash