find time left for setTimeout code example
Example: setTimeout but for a given time
function setToHappen(fn, date){
return setTimeout(fn, date - Date.now());
}
function setToHappen(fn, date){
return setTimeout(fn, date - Date.now());
}