view-source:http://rgbkey.github.io/verify/PrimeDice/
[...]
lucky = parseInt(hash.substring(index * 5, index + 5), 16);
if (index + 5 == 128 + 1) {
[...]
It looks very much like RGBkey just used the old broken script as provided on PD's verification page, and hasn't updated his copy yet.