How can i stop it from repeating??
var wait = function () { //mystuff } var myTimer = setInterval(wait, 5000);