Ported coffee charts to js


Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Please try this again, I can't think of any reason why this should not work in initialize. If it still doesn't work when you try again I will take a closer look at it.