Fixes typo in webgl.js

Changed function name of generageGL to generateGL.