Asian shares gave up early gains on Friday, while the dollar firmed after Federal Reserve Chair Janet Yellen suggested the central bank is still on track to raise interest rates later this year. MSCI’s broadest index of Asia-Pacific shares outside Japan was down 0.4 percent, on track for a weekly loss of nearly 5 percent. Australian shares also fell 0.4 percent, in a week when markets were roiled by a survey showing China’s factory activity fell to its weakest since 2009.