function checkTimer() {
    if (typeof startTimer == 'function' || typeof startTimer == 'object') {
        startTimer();
    }
}
