.on('timer', function (time) {
if(timerStatus) {
console.log(time);
timerStatus = false;
$('.gameEndTimer').empty().removeClass('not-active').countdown({seconds: time});
}
$('#timer')[0].play();
})