Write javascript code so that if one image is clicked and then another image is clicked, the 2 images swap.