Refactor LoadTables.js , Update Index