Fixed issue with repeating a fact multiple times

I changed chuck.js to remove the index of the fact it's currently showing to avoid repeating facts. As a bonus, I also added in a few extra documentation comments.