Fixed reference error in tables.js