javascript candlestick chart from json