Randomize border color on hover

I have this script that randomize the color of my border img on hover, but it also removes my basic border when I leave the img..(from the start all my img have a grey border, and I'd like this border to alway stay there and not be removed)