// interval id initialization
var myIntervalID;
// setInterval execution
myIntervalID = setInterval(function() {
// your main code for interval execution (this is just an example code)
$("body").css("font-size", '75px').addClass("interval-deletion-signal");
// setInterval deletion
if($("body").hasClass("interval-deletion-signal")){
console.log('please make it stop the interval');
clearInterval(myIntervalID);
}
}, 1);