Renamed tableContainer to tableElement and improved comments.