client.shared.template: Minimal fixes to tables.js

Found by javascript linters.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>