diff --git a/rln-js/index.html b/rln-js/index.html
index 97a7461..c6048e9 100644
--- a/rln-js/index.html
+++ b/rln-js/index.html
@@ -63,7 +63,9 @@
const keyDiv = document.getElementById('key');
const commitmentDiv = document.getElementById('commitment');
+ generateCredsButton.disabled = true;
const rlnInstance = await create();
+ generateCredsButton.disabled = false;
let membership;
generateCredsButton.onclick = () => {