Squash frequent console errors: "TypeError: document.popupNode is null"

I was seeing frequent errors on the console, when imagezoom attempts to access properties of document.popupNode without first checking its existence. This fix clears up those messages.