removes highchart resources