Update minimum password js