There's two classes of .closeMe actually. One on the X button in the message itself and one for the dark full page overlay itself so that the background outside of the message can be clicked to close as well.
I've added the last snippet in anyway thanks.
if (e.keyCode === 27) bodyEl.classList.add("closeIt");
I should have remembered the triple equals by now