More terrible js for these charts and data.