Embed button copies chart code to clipboard. Legacy js errors fixed
Fixed failing text for embed widget