Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
So I changed it back to the original call of `Chart.prototype....` and initialize still isn't called. And if I move `initialize()` to the constructor wouldn't I need to do that for all the chart inits?