DOM reverse by getElementById method