Fixed bug that would draw chart more than once if js interval timer fired more than once before it was killed.