Refactoring table.js (delete parameter).