Update table.js

fixed