Rand firmer, JSE flat on profit-taking