anchor.diff:    context.globalAlpha = 0.1
     var image = document.getElementById("source");
     context.drawImage(image, 100,100);
  +  context.globalAlpha = 1;
   
  -  context.globalAlpha = 1;
     var paint;
     mouseCoordinates = new Array();
   });
  
positive.code:     tipsDiv.setAttribute("id", "tips");
      tray.appendChild(tipsDiv);
  
      var clearCanvas = document.createElement("button");
      clearCanvas.setAttribute("id", "clear");
      clearCanvas.innerHTML = "clear";
      tray.appendChild(clearCanvas);
      // END TRAY COMPONENTS
  
      canvasDiv.appendChild(tray);
  
negative.code:   setCanvas();
    $("#tray").on("click", makeSelections)
    $("#canvas").on("mousedown", mouseDown);
    $("#clear").on("click", $("#clear").on("click", function(){context.clearRect(0, 0, canvas.width, canvas.height);}))
  
    function setCanvas(){
      var canvasDiv = document.getElementById('canvasDiv');
      var canvas = document.createElement("canvas");
      canvas.setAttribute("width", "900px");
      canvas.setAttribute("height", "700px");
      canvas.setAttribute("id", "canvas");
      canvas.setAttribute("style", "border:1px solid;margin:auto")
      canvasDiv.appendChild(canvas);
  