Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
Unfortunately it doesn't seem to work. Initialize is not even being called for some reason