Kroggy undefined error

Moved kroggy to be defined before it is used in line 7.
answerKey is not defined error

I defined answerKey in the top of the JS file as well.