refactor json rendering in controller, refactor chart.js, pulling live data to both graphs