Ported coffee charts to js


Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
yep. Sorry got lost in the indentation. Thought I was out of the function.