This will bomb on older browsers.  Change the above `typeof WebGLRenderingContext` check to return an empty object instead.