gets a WebGL context in a browser