old_contents: var Shader = new Class({
      initialize: function() {
      }
  });
  
new_contents: 
  
  var Shader = new Class({
      initialize: function(shaderId) {
          this.name = shaderId;
          var sourceElement = $(this.name);
          var typeString = sourceElement.get('type');
          if (typeString == 'x-shader/x-vertex') {
              this.type = gl.VERTEX_SHADER;
          }
          else if (typeString == 'x-shader/x-fragment') {
              this.type = gl.FRAGMENT_SHADER;
          }
  
          this.shader = gl.createShader(this.type);
  
          gl.shaderSource(this.shader, sourceElement.get('text'));
          gl.compileShader(this.shader);
  
          if (!gl.getShaderParameter(this.shader, gl.COMPILE_STATUS)) {
              console.error('Could not compile shader ', this.name, '\n',
                            gl.getShaderInfoLog(this.shader));
          }
      },
  
      getShader: function() {
          return (this.shader);
      }
  });
  
subject: Add basic shader code