Remove getGlobal function and related calls

The global 'this' object is not a real javascript object. This causes
problems when stringifying as well as trying to dynamically add
variables/properties.  Additionally, the original usage was to get the
"real" functions backing setTimeout and friends, which is no longer
required.

fixes #1