this is the js code to confirm the totp code flashed to the chip.