update js to load more than one datatable