Antiforeignism and Modernization in China