I am calling this function
function drawLayers() { //setTimeout(drawBlueSky,500); //setTimeout(drawCircle1,1250); setTimeout(drawMoon,800);
You could make a central var isStopped = false; variable which you set to true when stopping. Then make every function check for the variable before executing.
var isStopped = false;
true