split dataTable to a js file and load properly