[Code Style]Clean up libraries/joomla/document

[Code Style]Cleaned up the libraries/joomla/document folder.