Added ability to add/customize globals with: addGlobal(name, func)
Merge pull request #239 from garygreen/feature/customize-globals

Added ability to add/customize globals with: addGlobal(name, func)