added a capybara js test