fixed exception: smd == null when javascript checks for notifications just after server reset; not logged in still on page