print chartOptions to js console