Fixed JS file generated for chart CGG printing, for when no data source is specified.