"var isWebGL2 = (this.gl.getParameter(this.gl.VERSION).indexOf("WebGL 2") === 0);"
Changed to:
"var isWebGL2 = (this.gl.getParameter(this.gl.VERSION).indexOf("WebGL") === 0);"
In which folder and file name did you find these lines of code?
Thank you for your answer