Fixes js bug in data-tables.js