Bugfix to not repeat plots on html pages.