computeEditDistance = function computeEditDistance(w1, w2) {
              var l1 = w1.length,
                l2 = w2.length;
              if (l1 === 0) return w2;
              if (l2 === 0) return w1;

              var prev = [];
              var cur = [];

              for (var j = 0; j < l2 + 1; j++) {
                cur[j] = j;
              }

              prev = cur;

              for (var i = 1; i < l1 + 1; i++) {
                cur = [];
                for (var _j = 0; _j < l2 + 1; _j++) {
                  if (_j === 0) {
                    cur[_j] = i;
                  } else {
                    var a1 = w1[i - 1],
                      a2 = w2[_j - 1];
                    var temp = 999999;
                    var cost = a1.toLowerCase() === a2.toLowerCase() ? 0 : 1;
                    temp = temp > cost + prev[_j - 1] ? cost + prev[_j - 1] : temp;
                    temp = temp > 1 + cur[_j - 1] ? 1 + cur[_j - 1] : temp;
                    temp = temp > 1 + prev[_j] ? 1 + prev[_j] : temp;
                    cur[_j] = temp;
                  }
                }
                prev = cur;
              }

              return cur[l2];
            }
checks if the various functions such as setup, draw, preload have been
defined with capitalization mistakes
@method checkForUserDefinedFunctions
@private
@param {*} context The current default context. It's set to window in
"global mode" and to a p5 instance in "instance mode"