What gave the Americans an advantage over the British in Revolutionary War?