modified pie.js to accept dynamic colors