title: Using jQuery in Zombie.js
body: <p>I realize there are other libraries designed for the use of jQuery-like syntax with Zombie, but for my purposes, I specifically want/need to use jQuery itself in order to maintain compatibility with some earlier-written code.</p>
  
  <p>I installed the npm jQuery package, and I've been trying to import jQuery into my script and then initialize it with the window returned by Zombie like so:</p>
  
  <pre><code>var Zombie= require("zombie"),
  $ = require("jquery")
  , zombie = new Zombie();
  
  zombie.visit("http://www.mysite.com", function (err, browser, status) {
    if(err) {
      console.log("Error: " + err);
    }
  
    //Initialize a new jQuery instance with the current window returned by Zombie
    var $window = $(browser.window);
    //Get an actual jQuery object so we can search for stuff
    var document = $window("body");
  
    var inputBoxUsername = document.find("input#username");
  
    console.log(inputBoxUsername.html());
  });
  </code></pre>
  
  <p>This isn't working, as it says that there's no <code>html()</code> function, and jQuery doesn't actually seem to be returning the object I'm expecting.</p>
  
  <p>Is there a way to use jQuery with Zombie?</p>