various changes to charts.htm and embedding