diff --git a/bitaddress-vanity.html b/bitaddress-vanity.html
index c973fac..7ad6f5d 100644
--- a/bitaddress-vanity.html
+++ b/bitaddress-vanity.html
@@ -9112,6 +9112,7 @@ ninja.wallets.brainwallet = {
key = key + " ";
var bytes;
var btcKey;
+ var i = 0;
do {
i = i + 1;
bytes = Crypto.SHA256(key + i, { asBytes: true });