Clean up piecharts javascripts code and make it resue able and move it to js/theme.js and comment it up lite