The name Yahweh was a partial revelation of the divine name. When God came in the flesh, He revealed His name more fully. The name Jesus is a compound word which contains the name Yahweh within it. So when God says His name is Jesus (Yahweh is salvation), He is not contradicting what He said to Moses at the burning bush. He is completing it.