Treaty of Friendship, Commerce, and Navigation

In Anno Domini 1860, the Japanese-built ship Kanrin Maru was sent from Japan to the City of San Francisco in an attempt to establish a Treaty of Friendship, Commerce, and Navigation between the United States and Japan.

In OTL it was denied by the US Senate, but what if it wasn't?

What if instead the treaty was signed and the United States and Japan became closer trading partners, and possibly even allies...

How would this affect the Meiji Restoration, the development of Japan into a world power, and the World Wars?

POD
The industrialist John W. Fox is elected the Senator from Virginia. He is quick to realise the potential of Japan. They had successfully navigated the largest ocean in the world, after only having been brought into the modern era a few years before they acquired the Kanrin Maru.

Senator Fox successfully persuaded the US Senate to sign the Treaty of Friendship, Commerce, and Navigation. The singed treaty brought about the righting of unequal clauses in the Commodore Perry Treaty, it allowed for:
 * An American-Japanese Alliance


 * Unhindered trade between the US and Japan


 * Right of US ships to travel in Japanese waters, and Japanese ships in US waters

Alliance

 * Japan
 * United States of America
 * Jewish State of Israel
 * Republic of Turkey
 * Kingdom of Ethiopia
 * Kingdom of Morocco
 * Republic of East Africa
 * Union of Egypt
 * Central African Republic
 * Republic of the Niger
 * Sublime State of Persia
 * Republic of Poland
 * Kingdom of Hungary
 * Habsburg Kingdom of Croatia
 * Habsburg Empire of Austria

Entente

 * Republic of Australia
 * Republic of India
 * Union of South Africa
 * Kingdom of Serbia
 * French Republic
 * United Kingdom of Great Britain, Ireland, and Denmark
 * Iberian Union
 * Tsardom of Russia
 * United Kingdom of the Seven Netherlands

Pro-Entente

 * People's Republic of Xinjiang
 * Democratic Republic of the Congo
 * United States of South America
 * Republic of Bosnia

Central Powers

 * Kingdom of Italy
 * German Empire
 * Albanian Kingdom
 * Republic of Macedonia
 * Kingdom of Norway
 * Islamic Republic of Pakistan

Neutral

 * Union of Moslem Republics
 * Swiss Confederation
 * Republic of Turkestan
 * Kingdom of Sweden
 * Kingdom of Libya
 * Islamic Republic of Afghanistan
 * Kingdom of Greece