I believe the Japanese's main motivation for surrender was the entrance of the Soviet Union into the conflict just days before hand.