add names argument to toJSONArray2
update hPlot and remove data method