Re-did icon replacement logic to remove image attribute rather than
setting it and using CSS to apply the new icon image.