CSS styling and code cleanup
FIXED BUG. When loading another chart, have to cancel previously scheduled function on the timer to upate the previous chart to keep it live, so we dont have many schedule functions. Specifically, now saving the id from setInterval and later using clearInterval on it