$.timerStop = function(timerId){//$.timerStop("timerStudentSubjects"); if(window[timerId]) { clearInterval(window[timerId]); delete window[timerId]; } }