js fixes on outlogin popup