var hits = 0;

function setup() {
    hits = 0;
}

function hit() {
    hits++;
    console.log(hits);
}

function showAll() {
    $('.hole').flip(true);
}

function hideAll() {
    $('.hole').flip({
        trigger: 'manual'
    });
}

function randomTimeout() {
    return Math.random() * 5000 + 2500;
}

function won() {
    console.log('You won!');
}

function lost() {
    console.log('You lost!');
}

@@ -77,31 +77,8 @@
 ++;%0A
-    console.log(hits);%0A
 %7D%0A%0Af
@@ -294,35 +294,29 @@
 won() %7B%0A    
-console.log
+alert
 ('You won!')
@@ -346,19 +346,13 @@
     
-console.log
+alert
 ('Yo

Remove debugging statements from example.