Made some changes to chartMerger regarding typos and to handle WS-POLLING
Corrected typos and json-error