account details JS update