title: Use Sentry's Raven JS to collect all HTTP errors
body: <p>I have setup a Sentry application to collect HTTP / JS errors that can occur on the client side. However, it seems that when I try to make some 400 HTTP requests, Sentry failed to capture the request accordingly.</p>
  
  <p>Is it the default behavior of Sentry, or if something missing in my code (below)?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
              &lt;title&gt;Hi there&lt;/title&gt;
              &lt;script src="//code.jquery.com/jquery-1.12.0.min.js"&gt;&lt;/script&gt;
              &lt;script src="https://cdn.ravenjs.com/2.1.1/raven.min.js"&gt;&lt;/script&gt;
              &lt;script&gt;Raven.config('http://xxx@xxx.xxxxx.com/4').install();&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          Hello the world :-)
          &lt;script type="text/javascript"&gt;
              $.get("http://somehttp400url.com/");
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks for your feedback</p>