Ported coffee charts to js


Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
See note about the `#{...}` magic in coffeescript. This will need to manually concatenate the `value` into the rest of the string. Also, use single quotes