Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
It seems that this super call wasn't blowing up the stack before because initialize was never being called.