Use uncompressed chart.js src
Fix bugs in metric save