Ported coffee charts to js

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #648 from hassanNS/charts-js-port

Port coffee/charts/* to JavaScript