Code splitted in one file per class.

ipu-chart.php builds 'js/ipu-chart.js' when called.