Javascript integration testing with Capybara and headless Webkit | Hacker News Reader