Capybara + Selenium + JS

Hi,

I've recently been working with Capybara 0.4.0 and the bundled Selenium driver in Rails 2.3.8 with Ruby 1.8.7 to do integration testing with javascript. The problem I have is that Capybara's page object does not seem to be affected by the Javascript, even though I can see the changes happening in the browser, they are not reflected in that object's markup.

Here is the code http://pastie.org/2882350, everything else is working.