Sorry, this should fix the issue -
http://privatepaste.com/42e170b0cbPlease note when I recoded it I made sure to make sure it performs fast. As you'll notice with large combinations (like 10,000,000 mine will perform around 5 times faster than moderate's solution on chrome on my computer).
I tested it and it should take 41.67 hours to solve 8,000,000 combinations (on my computer).