Fix a StringIndexOutOfBoundsException in JSChartUtil when the
tagObjectList is empty