Update c3.js and fix sample