Change the this.globalFunctions to a global variable within the scripts.

Signed-off-by: Michel <info@1st-setup.nl>