Refresh the page if session expired message appears and the page is focused
Will refresh the page for you when the "Session expired, please refresh" popup appears.
Will only trigger if the page is focused as to not hinder performance.