function() {
  if(!intersection) {
    var intersection = function(a, b, c, d) {
      var X = (Equation.B(c, d) - Equation.B(a, b))/(Equation.M(a, b) - Equation.M(c, d));
      return [X, Equation.M(a, b) * X + Equation.B(a, b)];
    };
  }
  if(!intersecting) {
    var intersecting = function(a, b, c, d) {
      var p = intersection(a, b, c, d);
      return (p.x >= Math.min(a.x, b.x) && p.x <= Math.max(a.x, b.x) && p.x >= Math.min(c.x, d.x) && p.x <= Math.max(c.x, d.x));
    };
  }
  if(!circleCollidingLine) {
    var circleCollidingLine = function(a, b, c, r) {
      if(Vector2.magSq(a.sub(c)) <= r * r || Vector2.magSq(b.sub(c)) <= r * r) { return true; }
      var m = (Equation.B(a, b) - Equation.TB(PM(a, b), c))/(Equation.PM(a, b) - Equation.M(a, b));
      return m > Math.min(a.x, b.x) && m < Math.max(a.x, b.x) && Vector2d.magSq(Vector2.sub(new Vector2(m, Equation.M(a, b) * m + Equation.B(a, b)), c)) < r * r;
    };
  }
}();

@@ -1,19 +1,5 @@
-function() %7B%0A  
+%0A
 if(!
@@ -10,26 +10,24 @@
 rsection) %7B%0A
-  
   var inters
@@ -50,34 +50,32 @@
 n(a, b, c, d) %7B%0A
-  
     var X = (Equ
@@ -147,26 +147,24 @@
 c, d));%0A    
-  
 return %5BX, E
@@ -202,35 +202,29 @@
 B(a, b)%5D;%0A  
- 
- 
 %7D;%0A
-  %7D%0A  
+%7D%0A
 if(!intersec
@@ -229,26 +229,24 @@
 ecting) %7B%0A  
- 
- 
 var intersec
@@ -275,26 +275,24 @@
 c, d) %7B%0A    
-  
 var p = inte
@@ -313,18 +313,16 @@
  c, d);%0A
-  
     retu
@@ -444,21 +444,15 @@
 ));%0A
-  
   %7D;%0A
-  %7D%0A  
+%7D%0A
 if(!
@@ -470,26 +470,24 @@
 dingLine) %7B%0A
-  
   var circle
@@ -529,18 +529,16 @@
 ) %7B%0A    
- 
- 
 if(Vecto
@@ -619,18 +619,16 @@
 true; %7D%0A
-  
     var 
@@ -721,18 +721,16 @@
 ));%0A    
- 
- 
 return m
@@ -881,20 +881,12 @@
  r;%0A
-  
   %7D;%0A
-  %7D%0A%7D();
+%7D%0A
 %0A

Update collisiondetection.js