JavaScript Timer Set Interval JS ClearInterVal

$timer = setInterval(command, 5000);
clearInterval($timer);
Nasty Narwhal