Consider the typical draw call
webgl.bindBuffer(webgl.ELEMENT_ARRAY_BUFFER, faces); webgl.drawElements(webgl.TRIANGLES, nfaces * 3, webgl.UNSIGNED_SHORT, 0);