moving isWebGLSupported to Util