Added a CSS class to centre the download button and report table to stop the use of deprecated attributes and also added full-stops to comments
Introduced the code element
Removed unnecessary subclass constructors
Removed unnecessary second parameter for the render function
Removed unnecessary global variable declaration
Reordered code in the date element
Introduced the text element
Sorted the elements alphabetically