What about `photo.style.backgroundImage = 'none';?