new js files for tables