Added canvas and gl variables, initialized WebGL.