Get the global object without using eval. To work in Chrome packaged apps.