Fix issue with multiple reloads of the page

We were adding the same chart over and over if we reloaded the page.
Now, we wipe out all charts before loading.