TwoFA computes one-time codes in your browser using the Web Crypto API. There is no server to fall back to — that is the entire point — so it cannot work without JavaScript.