new file: getTableSource.js