Separating the current sesssion and other sessions

The original jquery effected both tables by mistake. Separating them out so that they can be closed independently.