link stats to jqplot