title: Why is jsHint warning me: '(var) is defined but never used'?
body: <p>I'm using CodeKit to run jsHint over my scripts, and minimise them, and I'd like to understand the following error:</p>
  
  <pre><code>    // create a next button for each text input and wire it for nextQ()!
      var next = $('&lt;a class="button next"&gt;Next&lt;/a&gt;')
          .on( 'click', function() {
              nextQ( $(this) );
          })
          .insertAfter( $questions.find(':text') );
  </code></pre>
  
  <p>jsHint warns:</p>
  
  <blockquote>
    <p>next is defined but never used</p>
  </blockquote>
  
  <p>Given that the element is insertedAfter() on each page load, is this a limitation of jsHint, or am I doing something wrong?  My jQuery is pretty basic, and I'd like to learn from the error!</p>