Ported coffee charts to js


Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Same as above, wouldn't this be `series: series ? series.id : null`?