Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>

Tested
Ah ok. I used to think the you could only override the constructor on a backbone model.