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.
Combine all these initializations and declarations into a single one:

```javascript
var options = this.chartOptions,
    toks = key.split('.'),
    last = toks.pop();

var tok;
for (var i = 0; i < toks.length; i++) {
...
}
```