Fixed Typo in Code

Looks like this should be using variables.$.globalConfig() instead of variables.$.global().
Merge pull request #1598 from cameroncf/patch-5

Fixed Typo in Code