Ported coffee charts to js


Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
OK, then addressing my comment above about unnecessary nesting should fix the warning and you can remove the ignore.