The initialization section includes everything that must be done exactly once at the beginning of the application's execution, and this includes setting up texture mapping.
var canvasvar glcanvas = document.getElementById('webgl')gl = getWebGLContext(canvas, false)