Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
Try just moving the _.bindAll to the constructor