Adding "use strict"; in all chart code.
Fixed any exceptions thrown when "use strict" was added.