update js on data tables