Changes to chartOpts.html and panelutil.js, from pkg