JS client and password format in database changed