Note that in previous commit there were change from `CJavaScript::jsonEncode` to `CJavaScript::encode` when processing options for `TbHighCharts`
closes #696 re #345