Fixed issue with misuse of '.' operator in tables.js