WWII

What factor (or factors) allowed the Allies to achieve victory over Japan in WWII?