refactored data table to new js core