Fix strict mode injected by dependency manager.
Fix strict mode injected by dependency manager.

Fall back to alternative technique for setting root to global scope if first attempt attempt fails due to strict mode being injected into top of module (e.g. by browserify).

http://stackoverflow.com/a/3277192.

GerHobbelt/shifty,jeremyckahn/shifty,GerHobbelt/shifty