Wrap your jquery code with the following:

 

if (!sessionStorage.alreadyShown) {
....
   yourFunctionOrCodeHere();
....
sessionStorage.alreadyShown = "true";
}