Working on table logic with listjs plugin