запустить функцию очень JS

var intervalId = window.setInterval(function(){
  /// call your function here
}, 5000);
Tomas Maillo