title: Using javascript to detect browser type
body: <p>I'm trying to use this line to detect browser type: IE or Firefox. </p>
  
  <pre><code>alert(isBrowser("Microsoft"));
  </code></pre>
  
  <p>but I get absolutely nothing, the alert doesn't even pop up. Not sure what I'm doing wrong. </p>
  
  <p>What would be the best practice way to detect browser type?</p>