In fact, the reason of this line is to invoke |revokeObjectURL| on the object created for the image so the browser can properly release it and also to hide the image in case the next contact to show does not have an image. Of course, we could move this code to the |renderMatchingDetails| function but since we have other things to reset, maybe it is a good idea to keep it this way. What we can do is to check the |matchingImg.src| instead of the existence of the 'hide' class. Including this little update.