title: context.refresh() and/or Waypoint.refreshAll() not working?
body: <p><strong>Updated 2/16 with new code to reflect mistake found from comment</strong></p>
  
  <p>I have waypoints working correctly on a page with the following code. Note that I'm using version 3.1.1 of the plugin, but I'm still using jQuery syntax akin to version 2.x of the plugin to handle some complex selectors. This code IS working:</p>
  
  <pre><code>var stickTop = wrapper.waypoint({
      handler: function(direction){         
          var len = $(this.element).closest('.ctable').find('div.ctable-row').length; 
          if ((direction === 'down') &amp;&amp; (len &gt; 1)) {
              $(this.element).closest('.ctable').find(stickTarget).addClass('stuck').css("top", $pageHeadOffset );
          }
          else if ((direction === 'up') &amp;&amp; (len &gt; 1)) {
              $(this.element).closest('.ctable').find(stickTarget).removeClass('stuck');
          }
      }, 
      offset: $pageHeadOffset,
  });
  </code></pre>
  
  <p>This is (still) fine and working correctly, but I have another element on the page that resizes, effectively making the page much longer. To deal with this, I've tried calling <code>Waypoint.refreshAll();</code> and <code>stickTop.context.refresh();</code> on another click target, like so:</p>
  
  <pre><code>$('.page-info-link').click(function(){
      $('.page-info').toggleClass('closed');
      $('.page-info-message').slideToggle();
      Waypoint.refreshAll();
  });
  </code></pre>
  
  <p>But I cannot get the refresh to accurately work.</p>
  
  <p>Is there any way to use the above jQuery-like syntax (without passing the element: option and still call the refresh?</p>
  
  <p><strong>Update 2/16:</strong></p>
  
  <p>This new code now fires a console error:</p>
  
  <pre><code>$('.page-info-link').click(function(){
      $('.page-info').toggleClass('closed')
      $('.page-info-message').slideToggle()
      stickTop.refresh()
  });
  </code></pre>
  
  <p>Error: "undefined is not a function"</p>