Implemented small fix for data transmission to JS chart
merged