code: function(cue){
  			var cues = this.cues || [];
  			var i = 0;
  			var len = cues.length;
  			if(cue.track != this){
  				webshims.error("cue not part of track");
  				return;
  			}
  			for(; i < len; i++){
  				if(cues[i] === cue){
  					cues.splice(i, 1);
  					cue.track = null;
  					break;
  				}
  			}
  			if(cue.track){
  				webshims.error("cue not part of track");
  				return;
  			}
  		}
docs: ToDo: make it more dynamic