Made Table.js functional; tested.