change to table.js

trying to add event category without knowing how