Uncaught Referenceerror Global Is Not Defined