title: How to remove/delete a JavaScript function()?
body: <p>How would I go about removing a function if a certain browser is detected ?
  Here is the function and the detection:</p>
  
  <pre><code>function parallaxIt(e, target, movement) {
    var $this = $("#app");
    var relX = e.pageX - $this.offset().left;
    var relY = e.pageY - $this.offset().top;
  
    TweenMax.to(target, 1, {
      x: (relX - $this.width() / 2) / $this.width() * movement,
      y: (relY - $this.height() / 2) / $this.height() * movement,
      z: 0.01,
      rotation:0.01
    });
  }
  
  
  var version = detectIE();
  if (version === false) {
    //Do Nothing
  } else if (version &gt;= 12) {
      //Remove Function
  } else {
      $("#iefix").attr({href : "/static/css/app-iefix.css"});
      //Remove Function
  }
  </code></pre>
  
  <p>So when any IE is detected I want to remove the function <code>parallaxIt()</code> or break it so It doesn't work any ideas? 
  Kind Regards</p>
  
  <p>(the detect part of the code is obviously a small snippet of the full code so it's easier for you folks to read instead of going through the full code)</p>