use javascript array for datatables dataset instead of the dom