Concentration Game by JavaScript