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

Found by javascript linters.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #845 from autotest/fix-templates-js

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