Add he possibility to render a chart wit a global JS Var