Compatibility fixes to keep setup code from crashing in older browsers.
Switch back to global WebGLRenderingContext.
Merge pull request #1448 from AnalyticalGraphicsInc/ieFixes

Compatibility fixes to keep setup code from crashing in older browsers.