China 's government has tempered this year 's commemoration of Japan 's notorious wartime massacre of civilians in the city of Nanjing , reflecting a drive to improve relations with Tokyo and avoid inflaming nationalist passions .