Fixes #161 - Self referencing `global` object is called `globals` instead

This is a code attachment for the issue #161.