Updated dataTable.js to clear footer rect if new values are added (reformated code also)