[javascript] How can I pause setInterval() functions?