Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
@naegelyd I removed `initialize` from core. B/c it's not being called, the height/width of the chart is messed up. Placing the code inside the constructor solves this issue.
Change this block to:

```javascript
if (this.chart) {
    var _base = this.chart;
    if (typeof _base.destroy === 'function') {
        _base.destroy();
    }
}
```