clean up code in index.html, rename payingAttention variable to gameIsOver