Fixed argument issue in table.js