Small addition to class Documents
Global functions.php ready
Global functions.js ready